package define

import (
	"github.com/dgrijalva/jwt-go"
	"os"
)

// 用于jwt token处理
type UserClaim struct {
	Id int
	Identity string
	Name string
	jwt.StandardClaims
}

// Jwt Singer Key, 移动到config.go了
// var JwtSignerKey = "cloud-disk-key"

// 移动到config.go
// var EmailPassword = os.Getenv("EmailPassword")

// Email Verify Code Length
// var VerifyCodeLength = 6

// Object Store Type, support minio | cos
var ObjectStorageType = os.Getenv("ObjectStorageType")

// Tencent OSS key and id, 移动到config.go
// var TencentSecretKey = os.Getenv("TencentSecretKey")
// var TencentSecretId = os.Getenv("TencentSecretId")
// var CosBucket = ""

// Pager default length
var PageSize = 20

// var TokenExpire = 3600

// var RefreshTokenExpire = 7200

